﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ISIM
{
    /// <summary>
    /// Globální správa údajů k daným protokolům
    /// </summary>
    public static class Login
    {
        public static class Skype
        {
            // login
            public static string username = "";
            public static string password = "";

            // klíč -> konvertuje se takto:
            // openssl pkcs12 -in <keyfilename>.pem -inkey <keyfilename>.pem -export -out <keyfilename>.pfx
            public static string keypairPath
            {
                get { return "keyfilename.pfx"; }
            }
            public static string keypairPass
            {
                get { return "*******"; }
            }

            // cesta k runtime
            public static string runtimePath
            {
                get { return Global.appRunPath + "plugins" + Path.DirectorySeparatorChar + "windows-x86-skypekit.exe"; }
            }
        }

        public static class Facebook
        {
            // login
            public static string userJid = "";// jid = usernam + @ + server -> jid.Bare
            public static string password = "";
        }

        public static class GoogleTalk
        {
            // login
            public static string userJid = "";// jid = usernam + @ + server -> jid.Bare
            public static string password = "";
        }

        public static class Icq
        {
            public static string uin = "";
            public static string password = "";
        }
    }
}
